package com.hrms.dao;

import com.hrms.pojo.EmpInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LK
 * @since 2021-10-19
 */
public interface EmpInformationMapper extends BaseMapper<EmpInformation> {


    List<Integer> selectIdByStaffName(String name);

    int deleteByStaffId(Integer a);

    int updateEmpInformationByStaffId(EmpInformation e);

    /**裴昌东写的*/
    List<EmpInformation> selectByStaffName(String name);


    Integer querySexCount(String sex);

    Integer queryStuCount(String stu);

    List<Integer> queryAgeCount();
}
